package com.qf.main.pharmacy.common.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author chengqiang
 * @Create 2024-02-19-8:15
 * @Description:
 */
@Data
public class CartVo {

    /**
     * 购物车主键
     */
    @TableId(value = "cart_id", type = IdType.INPUT)
    @ApiModelProperty(value="购物车主键")
    private Integer cartId;

    /**
     * 买家id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value="买家id")
    private Integer userId;

    /**
     * 商品id
     */
    @TableField(value = "mall_id")
    @ApiModelProperty(value="商品id")
    private List<PharmacyVO> mall;

    /**
     * 0选中1没选中
     */
    @TableField(value = "mall_status")
    @ApiModelProperty(value="0选中1没选中")
    private Integer mallStatus;

}
